package org.codefinger.dao.util.jdbc;

import java.sql.PreparedStatement;
import java.sql.SQLException;

public class BooleanSetter implements StatementSetter {

	public static final BooleanSetter	INSTANCE	= new BooleanSetter();

	private BooleanSetter() {

	}

	@Override
	public void setParam(PreparedStatement statement, int index, Object param) throws SQLException {
		statement.setBoolean(index, (Boolean) param);
	}
}
